package com.example.yilanchatserver;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableConfigurationProperties
@EnableTransactionManagement
@EnableAsync
@MapperScan(basePackages = {"com.example.yilanchatserver.dal.*.mapper", "com.example.yilanchatserver.dal.*.*.mapper"})
@EnableDiscoveryClient
public class YilanChatServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(YilanChatServerApplication.class, args);
    }

}
